package com.wenguo.action.controller;

import javax.servlet.http.HttpServletRequest;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;


@Controller
@RequestMapping("/error/*")
public class ErrorAction extends BaseAction {

	@RequestMapping("{page}")
	public String error(@PathVariable String page, HttpServletRequest request){
		
		return "error/" + page;
	}
	
}
